﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace AnimaGestionPersonnage.Utilities
{
    class MartialArts
    {
        public String name { get; set; }
        public MartialArtsTypes type { get; set; }
        public MartialArtsLevels level { get; set; }
        public int baseDamage { get; set; }
        public Stats damageStat { get; set; }
        public int damageStatMult { get; set; }
        public List<DamageTypes> damageTypes { get; set; }
        public int DI { get; set; }
        public int complexity { get; set; }
        public List<String> advantages { get; set; }
        public List<SkillMod> bonus { get; set; }
        public List<MartialArts> conditionMartialArts;
        public List<SkillMod> conditionsSkills { get; set; }
        public List<ChiPowers> conditionsChiPowers { get; set; }

        /// <summary>
        /// Indispensable pour la serialization XML
        /// </summary>
        public MartialArts()
        {
            damageTypes = new List<DamageTypes>();
            advantages = new List<String>();
            bonus = new List<SkillMod>();
            conditionMartialArts = new List<MartialArts>();
            conditionsSkills = new List<SkillMod>();
            conditionsChiPowers = new List<ChiPowers>();
        }

        public override string ToString()
        {
            return this.name;
        }
    }
}
